Trimming information recordable camera

ABSTRACT

A trimming information recordable camera which is usable in cooperation with a labo-system in which a film is printed according to the trimming information written in the film when loaded in the camera. The camera comprises: a photographing lens raving a plurality of focal lengths and capable of selecting one of the focal lengths; a zoom finder through which a view field angle can be changed; and a system for writing a trimming data in the film. The film is printed in accordance with the trimming data which is obtained from a data of the view field angle of the zoom finder and a data of a view field angle of the photographing lens.

This is a division of application Ser. No. 07/688,261, filed on Apr. 22,1991, now U.S. Pat. No. 5,150,143.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates by a trimming information recordablecamera which makes it possible to record information on the film fortrimming the composition of photographed scene or deciding the fieldangle at the time of printing the film on a photographic paper.

2. Description of the Related Art

It is important to decide composition or field angle of the photograph.Today, various types of camera equipped with zoom lens installed thereinhave been developed which makes it possible to easily change thecomposition of photographing object or scene by changing the field angleof the lens .

There are two ways for changing the field angle (composition). One is tochange the focal length of the lens so as to change the photographingobject itself imaged on the film at the time of taking the scene. Theother way to change the composition is to trimming the image formed inthe film at the time of printing the film on the photographing paper.

To decide the composition of the photograph by trimming the image in thefilm at the time of printing, the trimming information is recorded inthe film so that the information is read at the time of printing thefilm in the labo-system to trim the film. Such a trimming informationrecordable camera is disclosed in Japanese Patent Application LayingOpen (KORAI) No. 62-50743, for example.

Suppose that the image of the film is to be enlarged to twice at thetime of printing the film, the possible combination of the photographinglens and the finder magnification is represented in the table-1 asfollows.

                  TABLE 1                                                         ______________________________________                                                 FINDER                                                                                             f = 35 to 105                                            f = 35, f = 70                                                                          f = 35 to 70                                                                             or 135                                                   TWO FOCAL ZOOM or    ZOOM or                                                  POINTS    STEP       STEP                                            ______________________________________                                        PHOTO. f = 35  1           3        5                                         LENS                                                                                 f = 35                                                                        f = 70                                                                        TWO     2           4        6                                                FOC.                                                                          PNT.                                                                   ______________________________________                                    

Advantageous combinations in the table-1 are 1, 3 and 6. The combination1 represents a two-focal point camera including a labo-system. Thecombination 3 represents a twice magnification zooming camera includinga labo-system. Also, the combination 6 represents a three to four-timemagnification zooming camera including a labo-system.

The most sophisticated function is obtained from the combination 6 ofthe table. On the assumption that the trimming information isrepresented by three bits (T₁, T₂, and T₃), for example, the followingtable-2 can be obtained.

                  TABLE 2                                                         ______________________________________                                                         TRIM.     PRINT                                              PHOTO  FINDER    INFO.     MAG-                                               LENS   f         T.sub.1                                                                             T.sub.2                                                                           T.sub.3                                                                           NIFY    F.L.P.                                                                              P. NO.                           ______________________________________                                        f = 35 35        0     0   0   1       0     1                                       39        0     0   1   1.125   0     2                                       43        0     1   0   1.25    0     3                                       48        0     1   1   1.375   0     4                                       52        1     0   0   1.5     0     5                                       56        1     0   1   1.625   0     6                                       61        1     1   0   1.75    0     7                                       65        1     1   1   1.875   0     8                                f = 70 70        0     0   0   1       1     9                                       78        0     0   1   1.125   1     10                                      87        0     1   0   1.25    1     11                                      96        0     1   1   1.375   1     12                                      105       1     0   0   1.5     1     13                                      113       1     0   1   1.625   1     14                                      122       1     1   0   1.75    1     15                                      131       1     1   1   1.875   1     16                               ______________________________________                                         Note:                                                                         "FINDER f" is focal length of finder view field corresponding to              photographing lens;                                                           "PRINT MAGNIFY" is correction of magnification at time of printing film;      "F.L.P." is focus lens position that represents whether the photographing     lens position is at f = 35 or f = 70. F.L.P. signal "0" represents the        state of f = 35 while signal "1" represents the state of f = 70; and          "P. No." is position number.                                             

The related art mentioned above has problems as follows.

(1) First, with regard to the system 6 of table-1, the finder view fieldchanges according to the steps of table-2. However, actually, the sceneis not seen well through the finder which has a view field changingaccording to table-2. Also, from the standpoint of mechanical structure,in the case where an optical system of the finder is to be assembledcomprising cam means, it is more advantageous when the view field changeis continuous than when the change is stepping from the view points ofthe transmission efficiency of the driving force (pressure angle) andthe space for the system.

(2) Secondly, the focal point of the photographing lens is changedbetween the two points of f=35 and f=70 by putting a group of threelenses on the optical axis of the photographing lens or taking thelenses out of the optical axis. Therefore, it takes a certain time forarranging the lenses on or out of the optical axis, which results inthat it requires more time to move from the position 8 to the position 9or vice versa than to move between the other positions in the table-2.This means, in the developing process, the finder view field change istemporarily stopped at the time of moving from the position 8 to theposition 9 or vice versa, which degrades the appearance of the print.

Besides, in the labo-system, since it is difficult to continuouslychange the view field from the aspect of processing time, the trimmingprocess is carried out step by step, which involves in a problem that itbecomes necessary to match the timing of each process with each step.

The trimming information recordable camera mentioned above may comprisea writing means for writing information data such as date in the film.

The data is written at a corner of each frame of the film in the form ofletters of numerals so that the user can confirm the data. However, inaccordance with such a way of writing data, it becomes difficult to readthe data depending on the luminance of the object to be taken at theposition on the film where the data is to be written. Also, a part ofthe object in the frame is obscured by the information data.

Also, with regard to the trimming information recordable camera, thereis a problem that the data written in a portion to be trimmed off is cutaway and not printed. Japanese Patent Application Laying Open (KOKAI)No. 62-50743 discloses a proposal for solving the problem by generatingcode signals corresponding to the data to be written in the film andwriting the code signals in the film at a portion out of the frame wherethe scene is photographed.

As described in the patent document 62-50743, the data such as the dateof photographing written at a portion out of the frame of the film isread by a line sensor, for example, at the time of printing process.When the code signal indicates to print the date, the date is printed ata right end (seen from the back side of the film) in the frame. The codeis constituted from 17 bits.

However, in accordance with the camera having the data writing functionas disclosed in the Japanese patent document 62-50743, the followingproblems arise.

1 First, there is a possibility of destroying the data when cutting thefilm at the time of editing the film after development thereof, the datacode being printed at the right end of the frame seen from the back sideof the film.

2/0 Second, it becomes necessary to prepare one light emitting diode(LED) for each bit of the code signal, which rises the cost of thearrangement and necessitates a relatively large space for wiring thearrangement, thus hampering the realization of compact structure.

3 Thirdly ,the LEDs for writing the data are disposed right aside theaperture of the camera body, which causes to generate flare and lowersthe contrast of the image.

4 Fourthly, to avoid reading errors of the data at the time of printingprocess, the writing LEDs have to be accurately arranged atpredetermined positions.

SUMMARY OF THE INVENTION

The present invention was made to obviate the above-mentioned problemsof the related art. It is therefore an object of the present inventionto provide a trimming information recordable camera which makes itpossible to intermittently stop the view field angle change of thefinder at positions corresponding to respective trimming step positionsin the labo-system and change the finder view field at a constant speed.

It is a further object of the present invention to realize a generallyconvenient and advantageous camera which attenuates the abovementionedproblems concerning the function of writing data in the film.

The above-mentioned object of the present invention can be achieved by

a trimming information recordable camera which is usable in cooperationwith a labo-system in which a film is printed according to the trimminginformation written in the film when loaded in the camera, the cameracomprising:

a photographing lens having a plurality of focal lengths and beingcapable of selecting one of the focal lengths;

a zoom finder through which a view field angle can be continuouslychanged; and

a writing means for writing said trimming information in the film,

the film being able to be printed in accordance with the trimminginformation which is obtained from a information of the view field angleof the zoom finder and a information of a view field angle of thephotographing lens.

Advantages of the above-mentioned trimming information recordable camerain accordance with the present invention are as follows.

(1) It becomes possible to realize a light and compact camera by whichcan be obtained photos of desired field angle. The reason for this is asfollows. When a zoom lens is used, the larger the zooming magnificationbecomes, the bulkier the lens and the camera body accordingly becomes,in general. However, in accordance with the present invention, the fieldangle is decided by the user observing through the finder and changingthe finder view field angle while the focal length of the photographinglens is being fixed. The finder field angle data is recorded on the filmas trimming information which is written in the film betweenperforations thereof. The film is trimmed according to the writteninformation data in the labo-system at the time of printing process.Therefore, a photo of desired field angle can be obtained without usinga zoom lens which makes the camera bulky.

(2) Trimming point signals are arranged so that the finder zoom motor iskept actuated until the finder zoom position comes to a trimming pointeven when the zooming butten is released in the middle of the finderzooming motion at a position between the trimming points. That is, whilethe finder view field angle is basically changed continuously, itbecomes possible to stop the finder zooming motion accurately atrespective positions corresponding to the trimming points. Therefore,the functionability of the finder becomes upgraded so that the scene canbe well seen through the finder and that the optical system of thefinder becomes compact, which raises the transmission efficiency ofdriving force of the optical system and reduces the space for theoptical system arrangement.

(3) When the focal length of the photographing lens is to be changed,the lens is changed after the finder zooming motion by manipulation ofthe zoom button is finished and after determining whether it isnecessary to change the lens or not. Therefore, the finder fieldchanging motion is not influenced by the change of the photographinglens focal length so that it becomes possible to continuously change thefinder field angle at a constant speed without being stopped at the timewhen the lens is changed, which upgrades the observability of scenethrough the finder so that the user can well view the scene comfortablythrough the finder.

(4) The motor for driving the optical lens is controlled in such amanner that after manipulation of the zooming button is ended, thelength to the object is measured in response to the manipulation of theluminous sensor switch, after that, whether it is necessary to changethe photographing lens or not is determined and that the moving amountof the lens is calculated on the basis of the data of the length to theobject and information data whether it is necessary or not to change thelens focal length. Therefore, the changing motion of the finder fieldangle is not influenced by the changing motion of the lens, which makesit possible to continuously change the finder field angle at a constantspeed without being at the time when the lens is changed so that theuser can well view the scene comfortably through the finder.

Further objects and advantages of the present invention will be apparentfrom the following description of the preferred embodiments of theinvention as illustrated in the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1 shows FIGS. 1a, 1b, and 1c which are a constructional view ofthe whole arrangement of the trimming information recordable camera inaccordance with the present invention in which various informationincluding trimming information are written in the film charged in thecamera and the film is printed on the basis of the trimming informationdata read from the film in the labo-system;

FIG. 2 is a constructional view of the optical system of the zoom finderof the camera in accordance with the embodiment of FIG. 1;

FIG. 3 is a block diagram of the control system for the object variatorlens system assembled in the zoom finder arrangement of FIG. 2;

FIG. 4 is an explanatory view of information signal patterns output fromthe finder field angle detection means assembled in the structureaccording to the embodiment of FIG. 1;

FIGS. 5a and 5b are explanatory views for explaining the principle ofthe function of the two-focal point lens in accordance with anembodiment of the present invention;

FIG. 6 is a constructional view of a main portion of the optical systemincluding the finder and the photographing lens of the trimminginformation recordable camera in accordance with the present invention;

FIG. 7 is a constructional view of a main portion of the optical systemincluding the finder, the photographing lens and the distance measuringmeans of the trimming information recordable camera in accordance withthe present invention;

FIG. 8 is an explanatory view for explaining positions where informationdata is written in the film in accordance with an embodiment of thecamera of the present invention;

FIG. 9 is an explanatory view of the perforations formed on a film;

FIG. 10 is an explanatory view for explaining problems concerning theposition of the light emitting means;

FIG. 11 is a plan view of a part of the film showing an example of thelayout of the light emitting means;

FIG. 12 is an explanatory view of the data writing position in the filmin accordance with the present invention;

FIG. 13 is an explanatory view of the position of the light emittingmeans in the case of the normally film winding up type camera;

FIG. 14 is a constructional view of a main portion of the camera of FIG.13;

FIGS. 15a to 15c are flow charts of the embodiment of FIG. 14;

FIG. 16 is an explanatory view of the position of the light emittingmeans in the case of the prewinding up type camera;

FIG. 17 is a constructional view of a main portion of the camera of FIG.16; and

FIGS. 18a to 18c are flow charts of the embodiment of FIG. 17.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 illustrates a whole contstruction of the trimming informationrecordable camera to which the present invention is applied. The camerais arranged in such a manner that trimming information is written on arecording medium such as film set in the camera and that the film isprinted according to the trimming information read in the labo-system.

In FIG. 1, numeral 1 designates a whole camera controlling andcalculating unit which controls and calculates to function the wholestructure of the camera. The camera comprises a zoom button 2 forzooming a view finder, a luminous sensor switch 3 for starting theluminous sensing operation, a release switch 4 for releasing a shutter,a manual rewind button 5 for manually rewinding the film back into thecartridge, a date write mode button 6 for selecting whether thephotographing date is to be printed or not, a strobo 7, and a strobeactuator (strobe driving circuit) 8 for driving the strobe opticalsystem in cooperation with the zoom system to change the irradiationangle of the strobe light. Numeral 9 designates a strobe control unitwhich controls the luminous intensity of the strobe light in cooperationwith the release switch 4 in the case of strobe-photographing. Thecamera further comprises an outer display unit 10 for displaying variousinformation necessary for manipulating the camera, an inside display 11for displaying various information in the finder, a zoom finder opticalsystem 12, a zoom finder driving unit 13 comprising a motor and atransmission system, and a zoom finder control unit 14. Numeral 15designates a finder position detector for detecting the position of thefinder (view field angle of the finder) so that in response to thedetection signal the zoom optical system 12 is controlled by the controlunit 14 through the driving unit 13. Also, the finder position detectionsignal is transmitted from the detector 15 to the control andcalculation unit 1. The information data output from the detector 15 aretrimming information data (T₁, T₂, T₃), a focus lens position data(F.L.P.) which indicates the focal length of the photographing lens, anda trimming point (T.P.) where the zooming motor is to be stopped.

The camera further comprises a photo detector element 16, a photodetector unit 17 for converting the output signal of the element 16 tothe signal which can be introduced to the control and calculation unit1, a shutter 18, a shutter drive 19, and a shutter controller 20 whichcontrols the shutter 18 through the drive 19 on the basis of the shutterspeed calculated by the unit 1. Numerals 21, 22, and 23 designate afilm, a spool for winding the film, and a film cartridge, respectively.Numeral 24 designates a film advancing drive unit. Numeral 25 designatesa film motion control unit which controls the advancing or backwardmotion of the film (winding and rewinding of the film) by controllingthe spool 22 at the time of winding the film while controlling thecartridge 23 at the time of rewinding the film, through the drive 24 inresponse to the command signal from the unit 1.

Numeral 26 designates a perforation detector which detects perforationsof the film. Numeral 27 designates a perforation detecting circuit whichdetects the motion and the number of the perforations in cooperationwith the detector 26. Numerals 28, 29, and 30 designate a light emittingmeans such as an LED, an LED drive means, and an LED control unit,respectively. The perforation detecting means (26 and 27) may comprise asprocket detection means which detects the rotation of the film feedingsprocket having teeth each engaging through the perforation of the film.Or otherwise, the perforation detecting means may comprise an opticaldetection means composed of a photocoupler arranged so that the filmpasses therethrough, electrical or mechanical contact means havingcontacts in both sides of the film, or permittivity detection meanswhich detects the permittivity of the film.

Data of information such as date (year, month and day or time) arewritten between the perforations of the film in response to the commandfrom the unit I by turning on and off the LED 28 by the control unit 30through the drive 29 under the state of being synchronized with thesignal from the perforation detecting circuit 27.

Numeral 31 designates a CAS code reader which reads information (CAScode) on the sensitivity of the film loaded in the camera, for example.Numeral 32 designates a cartridge detector which detects whether thecartridge 23 is loaded in the camera or not. Numeral 33 designates aphotographing lens comprising a first lens group and a second lensgroup. Numeral 34 designates a photographing lens drive which comprisesa motor and a transmission system for driving the first lens group foradjusting the focus of the lens and the second lens group for changingthe focal point of the lens between the two points of the two-focalpoint camera. Numeral 35 designates a photographing lens control unitwhich controls the focus of the lens 33 and changes the focal point ofthe lens between the two points through the drive 34 in response to thecommand from the unit 1. Numeral 36 designates a photographing lensposition detector which detects the position of the first lens group ofthe lens 33. Numerals 37 and 38 designate a light emitting element and alight receiving element, respectively, which is arranged to measure thedistance to the subject in conjunction with a distance measuring unit39. Numerals 40 and 41 designate an attitude sensor and an attitudedetecting circuit, respectively. Four attitudes of the camera aredetected by the circuit 41 on the basis of attitude informationtransmitted from the sensor 40. Numeral 42 designates a back coverdetector which detects whether the back cover of the camera is opened orclosed. Numeral 43 designates a power voltage detector.

FIG. 2 illustrates an example of the optical system of the zoom finderassembled in the camera of FIG. 1. The zoom finder optical systembasically comprises three groups, i.e., an object variator lens system51, an object compensator lens system 52, and an eyepiece lens system53. The systems 51 and 52 are driven to move keeping a predeterminedpositional relation with each other while the system 53 is fixed exceptwhen the diopter of the lens is to be corrected.

The lens system 51 functions to change the view field angle. On theother hand, the lens system 52 functions to maintain the focal point(diopter of the finder) to be unchanged which would change according tothe movement of the system 51. The lens system 51 moves to change theview field angle maintaining the diopter of the finder by keeping apredetermined positional relation with the lens system 52.

FIG. 3 illustrates a control system for controlling the lens system 51of FIG. 2. The same numerals of the parts in FIG. 3 designate the sameparts of FIGS. 1 and 2.

When the zoom button 2 which is disposed on the camera body is pushed,the unit 1 transmits information of the manipulation state of the button2 to the finder zoom control unit 14. It is to be noted that if the unitI is not in the state of accepting the signal from the button 2 such aswhen the shutter is functioning, the information data of the buttonstate is not transmitted to the unit 14.

The information transmitted to the control unit 14 is information on therotary direction of the motor, i.e., a first zooming direction from thetele-photographing state to the wide-photographing state or a secondzooming direction from wide-photographing state to thetele-photographing state. In accordance with the information transmittedfrom the unit 1 to the unit 14, a finder zoom motor (F.Z. motor) of thedrive unit 13 is rotated so as to move the lens system 51 continuouslytoward the wide-photographing position or tele-photographing positionthrough the transmission system comprising gears.

When the zoom button 2 is released from being manipulated, the F.Z.motor is deenergized and stops the rotary motion. If the stop positionof the motor is between the steps of table-2 mentioned before, theprinted photograph sometimes becomes different from the subject of thefinder view field. To avoid this, the finder position detecting unit 16is arranged to output information signals indicating that the motor stopposition is at a trimming point (point of numbered position in table-2)or not so that the unit 1 controls the trimming system in accordancewith this information output from the unit 16.

The signals output from the unit 16 and read by the unit 1 are atrimming point signal (T.P.), trimming information bits (T₁, T₂, andT₃), and a focus lens position signal (F.L.P.).

FIG. 4 illustrates examples of signal pattern output from the finderposition detecting unit 15. A brush of the finder zoom drive 13 slideson the patterns of FIG. 4 and scans them to detect the finder position.

For the sake of better understanding, it is assumed that the zoom button2 is manipulated to move the brush to the right in the drawing at theposition number 13 and that the button 2 is released at the position`a`. If the F.Z. motor is stopped immediately, a right information isnot obtained from the finder position detecting unit 15. Therefore, toobtain a right information, a trimming point signal pattern (T.P.) isformed as illustrated in FIG. 4 so that the motor is stopped at theposition `b` where the next T.P. pattern is detected. This controllingoperation is carried out in such a way that the T.P. signal output fromthe unit 15 is transmitted to the unit 1 which then controls andactuates the finder zoom controller 14 to stop the motor at the positionof T.P. signal pattern.

FIGS. 5a and 5b illustrate the principle of focal length changingfunction of the two-focal point photographing lens in accordance with anembodiment of the present invention. The two-focal point lens isconstituted from a first lens group 1p and a second lens group 2p, asillustrated in FIG. 5a. The focal point when f=35 is adjusted by theforward and backward motion of the lens group 1p.

When the focus is to be changed from f=35 to f=70, the lens group lp isoperated leftward in FIG. 5a and the lens group 2p is inserted behindthe lens group lp as illustrated in FIG. 5a.

The focal point when f=70 is also adjusted by the forward and backwardmotion of the lens group 1p as when f=35.

After the photograph is taken, the lens group 1p is set at the startpoint X7 in FIG. 5b in the case of f=70, while it is set at the startpoint XI in the case of f=35.

When the lens group 1p is positioned at X7 or X1, if the focus lensposition (F.L.P.) and the focus zoom lens position (F.Z.L.P.) are notequal to each other, that is, in the case where F.L.P.=0 and F.Z.L.P.=1or in the case where F.L.P.=1 and F.Z.L. P.=0, it becomes necessary tochange the focus of the photographing lens (object lens).

(1) When the zoom button 2 is released and after that the button 2 isnot reactuated for a predetermined time, the F.L.P. and F.Z.L.P. arecompared with each other. When the F.L.P. and F.Z.L. P. are equaltogether, it becomes unnecessary to change the focus of thephotographing lens. Therefore, the control system arrangement is changedfrom the state wherein the introduction of the signal from the switch 3is forbidden to the state wherein the signal from the luminous sensorswitch 3 is accepted.

When the F.L.P.value and the F.Z.L.P.value are different from eachother, introduction of the signals from outside manipulation buttonssuch as the switch button 3 is forbidden. In the event when F.L.P.=0 andF.Z.L.P.=1, it becomes necessary to make the state as f=35 in FIG. 5a.Therefore, the photographing lens drive (object lens motor) 34 isreversed.

After a predetermined time (T₁) has passed, the position of the lensgroup 1p is read from the lens position switch signal (L.P.S.W) outputfrom the lens position detection unit 38. When a predetermined time (T₂)has passed after the L.P.S. W signal becomes "1", the motor 34 isstopped. By controlling the lens system in such a way, it becomespossible to stop the lens group 1p at the start point X1 of f=35 in FIG.5b.

The time T₁ is determined so that it fully covers the time to move fromthe position X7 to the position X6 in FIG. 5b. Also, the time T₂ isdetermined so that it fully covers the time the L.P. S.W value changesfrom "0" to "1" including a margin for absorbing the mechanical playsuch as backlash of the lens drive system between the positions X2 andX1 of FIG. 5b. The lens group 2p is mechanically moved away from theoptical axis during the time when the lens group 1p is moving betweenthe positions X6 and X4.

When F.L.P.=1 and F.Z.L.P.=0, it becomes necessary to make the focusstate as f=70 in FIG. 5a. Therefore, the motor of the drive 34 isrotated in the forward direction and stopped at the start point X7 off=70 in FIG. 5b. Except for this arrangement, the motion and function ofthe lens system are substantially the same as those in the case of whenF.L.P.=0 and F.Z.L.P.=1, mentioned above.

It is to be noted that instead of using the predetermined times T₁ andT₂ as in the above mentioned embodiment, it is possible to usepredetermined pulses P₁ and P₂, respectively, to obtain the samefunction and effect of the invention.

(2) After the zoom button 2 is released, when the switch 3 is actuated,the distance is measured. After that, F.L.P. and F.Z.L.P. are compared.There are two functions in response to the result of the comparison.

1 When F.L.P. and F.Z.L.P. Equal Together

First, a predetermined amount is added to the pulse number or countnumber corresponding to the forward motion amount of the lens group 1pdetected by measuring the distance. After that, the O.L.motor of thedrive 34 is rotated in the forward direction while monitoring theL.P.S.W signal. When the L.P.S.W signal is changed from "1" to "0", thelens group 1p is moved by the focus amount and the motor is stopped.

It is to be noted that the above-mentioned predetermined amount means anoffset amount corresponding to the focus adjusting amount at the time ofadjusting the focus of each camera. In case that the offset amounts whenf=35 and when f=70 are different in the same camera, it is possible toselect the amount on the basis of the F.Z.L.P. signal. Information onthe adjusting amount is written in a semi-fixed resistance or anelectrically rewritable read only memory (EEPROM) arranged in the unit1.

2 When F.L.P. and F.Z.L.P. Not Equal

(i) When F.L.P.=0 and F.Z.L.P.=1, the O.L. motor is reversed and theL.P.S.W signal is checked when a predetermined time T₁ has passed afterthe motor is reversed. When a predetermined time T₂ has passed after theL.P.S.W signal becomes "1", the motor is driven in the forward directionto move the lens group 1p by the focus amount. Then the motor isstopped. It is to be noted that the predetermined time T₁ means the timewhich fully covers the time period wherein the lens moves from theposition X7 to the position X6 in FIG. 5b. Also, the predetermined timeT₂ corresponds to the time which fully covers the time period whereinthe L.P. S.W signal changes from "0" to "1" including a margin due tothe mechanical play such as backlash of the lens drive system betweenthe positions X2 and X1 in FIG. 5b. Also, it is possible to use thepulse number P₁ and P₂ to control the system instead of thepredetermined times T₁ and T₂.

(ii) When F.L.P.=1 and F.Z.L.P.=0, the O.L. motor is driven in theforward direction and the L. P.S.W signal is checked when apredetermined time T₁ has passed after the motor is rotated in theforward direction. When the signal becomes "1" and then changes to "0"again, the lens group 1p is moved by the focus amount. After that, themotor is stopped. The pulse numbers can be used instead of thepredetermined times T₁ and T₂ to control the system, as mentioned abovein the case of (i).

The lens group 2p is moved onto or away from the optical axismechanically during when the lens group 1p is moving between thepositions X6 and X4 in FIG. 5b.

FIGS. 6 and 7 illustrate a main portion of the trimming informationrecordable camera in accordance with the present invention. Thecorresponding or same parts are designated by the same numerals as thestructure of FIG. 1.

The function of the paragraph (1) mentioned above with reference toFIGS. 5 is further described hereinafter referring to FIG. 6.

Numeral 2-1 designates a zoom button for shifting the zoom system towardthe wide-view field angle direction. And numeral 2-2 designates a zoombutton for shifting the zoom system toward the telescopic direction.When the button 2-1 or 2-2 is pressed and then released, the unit 1reads the F.L. P.signal and F.Z.L.P.signal from the finder positiondetecting unit 15 and the photographing lens position detecting unit 38,respectively. The unit 1 compares the two signals.

If the two signal values are equal to each other, it is unnecessary tochange the focus of the lens. Therefore, the state wherein the signalfrom the luminous sensor switch 3 is forbidden to enter the unit 1 isreleased.

On the other hand, if the two signal values are different from eachother, the signals from the outside manipulation buttons such as switch3 are forbidden to enter the unit 1.

When F.L.P.=0 and F.Z.L.P.=1, the control unit 35 actuates the drive 34to reverse the photographing lens drive motor (O.L.motor) to rotate inthe backward direction so that the lens state becomes as f=35. Afterthat, when a predetermined time T₁ has passed, the L.P.S.W signal ischecked by the detecting unit 36. After the signal becomes "1", when apredetermined time T ₂ has passed, the control unit 35 stops the motor.The focal length of the photographing lens is mechanically changed priorto the detection of signal "1" of L.P.S.W by driving the motor of thedrive unit 34.

On the other hand, when F.L.P.=1 and F.Z.L.P.=0, the motor is driven torotate in the forward direction so as to make the lens state of f=70.After the motor is actuated, when a predetermined time T₁ has passed,the L.P.S.W signal output from the unit 35 is checked. When apredetermined time T ₂ has passed after the signal is changed to "1",the control unit 35 stops the motor.

Next, the function of paragraph (2) mentioned before with reference toFIGS. 5 is further described hereinafter referring to FIG. 7.

When the switch 3 is manipulated, the unit 1 actuates the distancemeasuring unit 39 to measure the distance. Also, the unit 1 reads theF.L.P. signal which is the information signal on the finder view fieldangle from the detecting unit 15. The unit 1 also reads theF.Z.L.P.signal which is the information signal on the focal length ofthe photographing lens now on arrange from the detecting unit 36. Thetwo signals are compared in the unit 1.

When the two signals are equal together, a pulse number corresponding tothe focus amount is added to the pulse number corresponding to theoperated amount of the lens group 1p which is obtained from theabove-mentioned measurement of the distance. Then the unit 35 isactuated to drive the motor of the unit 34 to rotate in the forwarddirection. The L.P.S.W signal from the unit 36 is monitored so that whenthe signal is changed from "1" to "0", the lens is operated by the focusamount after that by the motor. Then the unit 35 stops the motor.

On the other hand, when the two signals are different from each other,the unit 1 controls the unit 35 in response to the values of the signalsso that the motor of the drive unit 34 is actuated backward or forward.After that, when a predetermined time T₁ has passed, the unit 1 checksthe L.P.S.W signal output from the detecting unit 36. When the L.P.S.Wsignal becomes "1" and when F. Z.L.P.=1, the control unit 35 stops themotor after a predetermined time T₂ has passed and after that actuatesthe motor in the forward direction to operate the lens group 1p by thefocus amount. Then the motor is stopped.

If F.Z.L.P.=0, the motor is controlled in such a way that when theF.Z.L.P. signal turns to "1" and after that changes to "0" again, thelens group is operated by the focus amount and after that the motor isstopped.

Embodiments of the present invention having the structure illustrated inFIG. 1 are further described hereinafter. Improvements of theembodiments described below reside in the information data writingmeans.

FIG. 8 illustrates data writing portions on the film in accordance withan embodiment of the present invention.

In FIG. 8, numerel 21 designates a film as a whole and numerals 211,212, and 213 designate a frame, a perforation and a data writingposition, respectively.

As can be seen from FIG. 8, each data writing position 213 is disposedbetween perforations 212 formed along the lower edge (or upper edge) ofthe frame 211 of the film. The data is written in the portion 213 byturning on and off the light emitting means comprising a plurality ofLEDs during the advancing motion of the film. Also, the data can berenewed every time one perforation is advanced. Eight positions 213 aredisposed along one frame edge. Therefore, if three LEDs are used, forexample, data of 24 bits, i.e., 3×8=24, can be input for one frame.

The perforations 212 are detected, as illustrated in FIG. 1, by thedetector 26 and the detecting unit 27. On the basis of the detectionsignal of the perforations 212 output from the unit 27, the unit Icontrols the light emission controller 30 to control the turning on andoff of the LEDs through the LED actrator 29 as well as controls the filmadvancing motion through the film driver by the film advance motioncontroller 25 so that the data is written in the space between everyadjacent two perforations 212 during the film advancing motion.

As illustrated in FIG. 8, the data is written in the outside of theframe of the film. The data is read in the labo-system at the time ofprinting the film on a print paper. The labo-system comprises a linesensor for reading the data written in the film and automaticallycontrols the printing operation such as deciding whether the date is tobe printed or not, or determining the magnification of the printing zoomlens on the basis of the read data which is written in the film.

It is necessary that the labo-system is so arranged that reading errorscan be avoided as possible. Therefore, the data on the film have to beprecisely aligned with the line sensor for reading the data installed inthe labo-system.

The problems are:

(i) that the aperture size of the camera body is different forrespective camera;

(ii) that the frame is inclined with respect to the film due to thedifference between the tolerance of the 35 mm film width and that of thewidth of the rail for guiding the film in the camera; and

(iii) that the frame size minutely changes according to the zoomingmotion in the case of a zoom lens camera.

However, in accordance with the present invention, these problems areattenuated or the reliability of reading data is not impaired by theproblems, since the data area on the film for one bit of information islarge due to the arrangement wherein the data is written in the spacebetween the perforations of the film when compared with the arrangementof the prior art disclosed in Japanese Patent Application Laying Open(KOKAI) No.62-50743, for example.

It is to be noted that a plurality of LEDs (three LEDs in thisparticular embodiment) are disposed side by side at a same position withrespect to the film advancing direction within the area where theperforations passes with respect to the lateral direction of the film.

The data is written in the film by on-off control of the light emittingmeans, i.e., LEDs in this particular embodiment. However, instead ofsuch an optical means, it is possible to use a magnetic means forwriting data in the film. In the case where the magnetic means is used,the data is written in the film in such a way that a magnetic recordingband such as transparent magnetic layer, for example, is formed on thefilm in advance and that a magnetic recording means installed in thecamera writes the data on the magnetic layer in a manner synchronizedwith the detection signal of the perforations.

Or otherwise, a thermal recording means may be adopted to write the dataon the film. In this case, a heat-sensitive layer is formed on the filmin advance so that the data is written on the layer by a thermal means.

The embodiment of the present invention illustrated in FIG. 8 hasadvantages as follows.

(1) The data is not destroyed if the film is cut at the time of editingthe film since the data is written in the space between the perforationsof the film.

(2) A large space can be alloted for writing the data for one frame onthe film since eight perforations are formed along one frame so thateight writing positions between the perforations can be obtained, whichmakes it possible to reduce the number of LEDs for writing the data,resulting in that the cost is lowered and the space for wiring thecircuit of LEDs can be reduced.

(3) It becomes possible to prevent the problem of flare from arising atthe time of writing the data in the space between the perforations, thatis, the photograph in the frame is not optically influenced by the LEDsfor writing the data.

(4) It becomes possible to reduce the accuracy of positioning the LEDsfor writing the data since the data recording area is large.

In the embodiment having the data writing arrangement mentioned above,it is necessary to form perforations in such a manner that oneperforation 111 is disposed at the position of frame line, i.e., theposition between adjacent two frames 110, as illustrated in FIG. 9, sothat the center of the perforation coincides with the center of theframe line with respect to the longitudinal direction of the film. Thatway, it becomes possible to use the space most efficiently for writingthe data and prevent the data from being destroyed when the film is cutalong the frame line at the time of editing operation.

With such an arrangement of the perforations, it is necessary to disposethe light emission means (LEDs) 120 at a position designated by numeral119 in FIG. 10 which illustrates a camera body 115, an aperture 116 anda film guide means comprising an inside rail 117 and an outside rail118. However, in accordance with the LED layout of FIG. 10, the insiderail 117 is obstructed by the LEDs in the vicinity of the aperture 116,which impairs the film condition at the time of photographing since therail becomes unstable at the position of the aperture.

To cope with this problem, the LEDs are disposed at one of the positions119-A to 119-D, illustrated in FIG. 11, which positions are away fromthe aperture 116 by a predetermined length. The position is selecteddepending on the conditions of the film cartridge position, that is,whether the cartridge is disposed in the right or left of the apertureseen from the back cover side and the film winding type. There are twofilm winding types. A first winding type is arranged in such a way thatthe film is advanced and wound on the spool in the camera according asthe frame is used to photograph one by one and when all of the framesare photographed, the film is rewound back into the cartridge. A secondwinding type is arranged in such a way that the film is first taken outfrom the cartridge and wound on the spool in the camera beforephotographing and that the film is rewound back into the cartridgeaccording as the frame is used to photograph one by one.

In FIG. 11, each position of LEDs 119 is disposed 5.74 mm away from theaperture edge. This length 5.74 mm is derived from the perforation pitch(4.75 mm) plus a half of the perforation width (1.98 mm).

FIG. 12 illustrates the data writing areas alloted on the film. Asillustrated in FIG. 12, eight data writing areas designated by LED.S(n1)to LED. S(n8) are formed between perforations 111 along the longitudinaldirection of one frame 110.

FIG. 13 illustrates the positional relation between the film, aperture116 and the light emission means 119, in the case that the film windingtype is the first advance winding type mentioned above and that thecartridge 125 is disposed in the left side of the aperture 116.

The LEDs are disposed at the position designated by 119. Therefore, itbecomes impossible to write the data in the trailing recording areadesignated by LED.S(n1) in FIG. 12 during the time the film is advancingafter the frame 110 is photographed until the next frame is set behindthe aperture 116. Therefore, the data to be written in the areaLED.S(n1) of the preceding frame has to be memorized and written at thetime of subsequent film advancing motion for the next frame.

However, with regard to the last frame, the data is not recorded in thetrailing recording area LED.S(n1) of the eight areas LED.S(n1) toLED.S(n8) of this last frame since the film is not advanced further.

Such a problem is obviated by an embodiment of the present inventiondescribed below so that the data is reliably recorded on the film forthe last frame.

FIG. 14 illustrates the construction of the main portion of such anembodiment of the present invention.

In FIG. 14, numeral 1 designates a control and calculation unit forcontrolling the whole structure of the camera. The unit 1 comprises afirst data memory 101 for memorizing the information data about thephotographing conditions at the time of releasing the shutter, a seconddata memory 102 for memorizing the information data to be written in thefirst writing space LED.S(n1) between the perforations for the precedingframe, a perforation count means 103 for counting the Perforationsdetected, a control unit 104 for controlling various parts of thesystem, a rewind signal output means 105 for transmitting a start signalfor rewinding the film back into the cartridge, a frame number detectingmeans (remaining frame detector) 106 for detecting the remaining framesof the film from the number of the Photographed frames memorized in thecartridge, a photographed frame number memory (used frame counter) 107for counting and memorizing the number of frames which werephotographed, a film end discrimination means 108 for detecting the filmend by comparing the outputs from the remaining frame detector 106 andthe used frame counter 107, and a manual rewind detection means 109 fordetecting whether the manual rewinding button is manipulated or not.

The camera of this embodiment further comprises, as the camera of FIG.1, a release switch 4, a manual rewind button 5, a spool 22, a filmcartridge 23, a film feed drive 24, a film feed controller 25, aperforation detector element 26, a perforation detecting circuit 27, alight emission means 28, a light emitter drive 29, a light emittercontroller 30, and a CAS code reader 31.

FIGS. 15a to 15c illustrate a flow chart of the function of writing databetween perforations in accordance with the embodiment of the presentinvention.

The function is described hereinafter with reference to FIGS. 14 and 15ato 15c.

First, the release switch 4 is pushed after the distance measuringoperation is ended. When the switch 4 is pushed, the control unit 104inhibits all of the interruptions from outside (S₁₃). In this state, theunit 104 measures the luminous intensity and controls the exposure(S₁₄). After that, the data to be written is coded (S₁₅). Also, the unit104 discriminates whether the frame being set is the first frame or notby checking the number of the perforations (P.C.L) corresponding to thenumber of the frames (S₁₆).

When the first frame is being set, the contents of three bits of thesecond data memory 102 are all set as "1" (S₁₇).

After that, the perforation counter 103 is set for the maximum number 9and film feeding motor is driven in the forward direction to advance thefilm to the spool side (S₁₈). During this feeding motion, the datacorresponding to the perforation count number (i) is written on the filmby controlling the light emission means 28 of three bits. That is, sincethe counter 103 is set for the maximum value 9 first, the unit 104controls the unit 30 to write the data of three bits memorized in thesecond data memory 102 (S₁₉). The three bits are all "1" when the firstframe is being set. When the frame other than the first frame is beingset, the data is a part of the data for the preceding frame.

After the photograph is taken in the frame, when the count number of thecounter 103 is the maximum value 9, the data to be written in the firstwriting area LED.S(n1) of FIG. 12 is transferred from the first datamemory 101 to the second data memory 102 (S₂₁). The transferred data iswritten on the film at the time of photographing the next frame.

If the count number of the counter 103 is not the maximum value 9, theperforations are detected immediately (S₂₂). The perforations aredetected by the unit 27 in conjunction with the detector element 26.After the perforations are detected, the unit 104 checks whether thecount number of the counter 103 is 2 or not (S₂₃).

If the count number is not 2, 1 is subtracted from the count number(S₂₄) and the contents of the first data memory 101 corresponding to thecount number of the counter 103 are written in the correspondingrecording spaces between the perforations (S₁₉). The data is the one forthe frame which is finished to he photographed and now being shiftedaway from the aperture position.

If the count number is 2, the perforation number 8 for one frame isadded to the perforation number (P.C.L) corresponding to the used framesmemorized in the memory 107 and the renewed perforation number ismemorized in the memory 107 (P.C.L=P.C.L+8).

On the other hand, the number of remaining unused frames (F.E.X) read bythe CAS code reader 31 from the cartridge 23 is registered in the framedetector 106. The unit 104 controls the film end discrimination means108 to compare the value of eight times of F.E.X and the value of P.C.L.

If P.C.L<8×F.E.X, it means that the film has one or more unused framesremaining. Therefore, the unit 104 controls the film feeding controller25 to stop the feeding motor. Also, the unit 104 controls the lightemission controller 30 to turn off the light emitter 28 (S₂₇).

On the other hand, if P.C.L≧8×F.E.X, it means that the trailing frame isphotographed and the film has no unused frame remaining. Therefore, theunit 104 controls the controller unit 25 to drive the motor in theforward direction. Also, the unit 104 sets the counter 103 for themaximum value 9 and writes the unrecorded remaining data registered inthe second memory 102 on the data writing portion LED.S(n1) between theperforations of the last frame (S₂₈).

After that, the unit 30 turns off all of the LEDs 28. Also, the countnumber of perforations at the time of rewinding the film (P.C.R.W) isset for P.C.L-P.C.X. Note that P.C.X is a constant for setting forP.C.R.W<P.C.L.

However, if P.C.R.W is set as P.C.R.W=P.C.F-P.C.L in the event thatP.C.L becomes larger than the genuine number due to a count error, themotor continues to rotate still after the whole of the film has beenrewound back into the cartridge, since in that case the condition ofcount number P.C=P.C. R.W is not satisfied.

To avoid this, P.C.R.W is set for a small number and the motor is drivenwith the use of a timer (described later) for the time corresponding toP.C.X.

Further, the counter 103 is reset to "0" and then the motor is reversed.In this state wherein the film is being rewound into the cartridge, theperforations of the film is detected by the element 26 and the unit 27so that the counter 103 counts up the perforation number one by one(P.C=P.C+1) until the count number becomes as P.C≧P.C.R.W.

When the count number becomes as P.C≧P.C.R. W, the motor is furtherrotated for the time corresponding to P.C.X mentioned above to continuerewinding the film. For this purpose, the unit 104 sets the timer for"0" and starts to count. After a predetermined time set by the timer haspassed, the unit 104 controls the unit 25 to stop the motor (S₃₄). Then,the state that the film has rewound is displayed (S₃₅).

On the other hand, when the manual rewind button 5 is pushed before thelast frame is photographed, the unit 104 actuates the circuit 105 tooutput the rewind start signal to drive the feed motor in the forwarddirection (S₃₆). The unit 104 further controls the unit 25 to write thedata of the last frame which is not written yet on the film (S₂₈). Afterthat, the feed motor is reversed to rewind the film into the cartridge.

As mentioned above, in accordance with the embodiment of the presentinvention, it becomes possible to reliably write the necessary data inthe space between perforations of the film for the last frame. Also, inthe event that the manual rewind button is pushed in the middle of thefilm, it becomes possible to reliably write the necessary data in thespace between perforations of the film.

The above-mentioned embodiment is applied to the camera in which thefilm is wound according to the first normal winding type wherein thefilm is advanced every time the frame is photographed and after all theframes are photographed the film is rewound back into the cartridge.There is another film winding type, as mentioned before. According tothe second film winding type operation, the entire film is taken outfirst from the cartridge and wound on the spool before photographing andthen the film is rewound back into the cartridge every time the frame isphotographed so that the leading frame of the film is photographed last.The present invention can be also applied to the camera of the secondfilm prewinding type as well. The embodiment of the invention applied tothe film prewinding type camera is described below.

FIG. 16 illustrates a film layout of an example of the film prewindingtype camera. In this example, the cartridge 125 is disposed on the leftof the aperture 116 seen from the back side of the camera.LEDs forwriting data is disposed at the position 119. The film is rewound intothe cartridge 125 when the frame 110 has been photographed. During thisrewinding motion of the film, the data of photographing conditions andother information are written in the spaces between the perforations111. However, when the next frame is set behind the aperture 116, thewriting space LED. S(n8) of the preceding frame illustrated in FIG. 12has not come to the light emission position 119 yet. Therefore, the datato be written in the space LED. S(n8) of the preceding frame ismemorized in a memory so that the memorized data is written at the timeof film rewinding motion after the subsequent frame has beenphotographed.

However, with regard to the last frame, the data can not be written inthe trailing space LED. S(n8) for the frame since there is no subsequentframes.

The embodiment of the present invention described below obviates thisproblem and reliably writes the predetermined information data for thelast frame.

FIG. 17 illustrates the construction of this embodiment of the presentinvention.

In FIG. 17, numeral 1 designates a control and calculation unit forcontrolling the whole structure of the camera. The unit 1 comprises afirst data memory 101' for memorizing the information data about thephotographing conditions at the time of releasing the shutter, a seconddata memory 102' for memorizing the information data to be written inthe last writing space LED.S(n8) between the perforations for thepreceding frame, a perforation count means 103' for counting theperforations detected, a control unit 104' for controlling various partsof the system, a rewind signal output means 105' for transmitting astart signal for rewinding the film back into the cartridge, a framenumber detecting means (remaining frame detector) 106' for detecting theunused remaining frames of the film from the CAS code of the cartridgeand the information obtained at the time of prewinding the film on thespool, a photographed frame number memory (used frame counter) 107' forcounting and memorizing the number of frames which were photographed, afilm end discrimination means 108' for detecting the film end bycomparing the outputs from the remaining frame detector 106' and theused frame counter 107', and a manual rewind detection means 109' fordetecting whether the manual rewinding button is manipulated or not.

The camera of this embodiment further comprises, as the camera of FIG.1, a release switch 4, a manual rewind button 5, a spool 22, a filmcartridge 23, a film feed drive 24, a film feed controller 25, aperforation detector element 26, a perforation detecting circuit 27, alight emission means 28, a light emitter drive 29, a light emittercontroller 30, and a CAS code reader 31.

FIGS. 18a to 18c illustrate a flow chart of the function of writing databetween perforations in accordance with the embodiment of the presentinvention.

The function is described hereinafter with reference to FIGS. 17 and 18ato 18c.

First, the release switch 4 is pushed after the distance measuringoperation is ended. When the switch 4 is pushed, the control unit 104'inhibits all of the interruptions from outside (S₁₃). In this state, theunit 104' measures the luminous intensity and controls the exposure(S₁₄). After that, the data to be written is coded (S₁₅). Also, the unit104' discriminates whether the frame being set is the first frame or notby checking the number of the perforations (P.C.L) corresponding to thenumber of the frames which were photographed (S ₁₆).

When the first frame is being set, the contents of three bits of thesecond data memory 102' are all set as "1" (S₁₇).

After that, the perforation counter 103' is set for the maximum number 9and film feeding motor is driven in the backward direction (directiontoward the cartridge)(S₁₈). During this film feeding motion, the datacorresponding to the perforation count number (i) is written on the filmby controlling the light emission means 28 of three bits. That is, sincethe counter 103' is set for the maximum value 9 first, the unit 104'controls the unit 30 to write the data of three bits memorized in thesecond data memory 102'(S₁₉). The three bits are all "1" when the firstframe is being set. When the frame other than the first frame is beingset, the data is a part of the data for the preceding frame.

After the photograph is taken in the frame, when the count number of thecounter 103' is the maximum value 9, the data to be written in the lastwriting area LED.S(n8) of FIG. 12 is transferred from the first datamemory 101' to the second data memory 102'(S₂₁). The transferred data iswritten on the film at the time of feeding the next frame. Also, thecounter 103' is set for "0".

If the count number of the counter 103 is not the maximum value 9, theperforations are detected immediately (S₂₂). The perforations aredetected by the unit 27 in conjunction with the detector element 26.After the perforations are detected, the unit 104 checks whether thecount number of the counter 103' is 7 or not (S₂₃).

If the count number is not 7, 1 is added to the count number (S₂₄) andthe contents of the first data memory 101' corresponding to the countnumber of the counter 103' are written in the corresponding recordingspaces between the perforations (S₁₉). The data is the one for the framewhich is finished to be photographed and now being shifted away from theaperture position.

If the count number is 7, the perforation number 8 for one frame isadded to the perforation number (P.C.L) corresponding to the used framesmemorized in the memory 107' and the renewed perforation number ismemorized in the memory 107' (P.C.L=P.C.L+8) (S₂₅).

After that, the perforation number (P.C.F) (which corresponds to theusable frame number to be Photographed) counted at the time ofprewinding motion when the film is loaded is compared with theperforation number (P.C.L) corresponding to the used frame number (S₂₆).

If P.C.F-P.C.L≦F.C is not satisfied, it means that the last frame is notyet photographed judging from the perforation number (P.C.F) counted atthe time of prewinding the film. Note that F.C corresponds to the lengthof leading film portion. Therefore, the usable frame number F.E.X readfrom the cartridge 23 by the CAS code reader 31 is compared with theperforation number (P.C.L) for the used frame (S₂₇).

If P.C.L≧8×F.E.X is not satisfied , it means that the film has one ormore usable frames being remained. Therefore, the unit 104' transmits asignal to the controller 25 to stop the film feeding motor. The unit104' also controls the unit 30 to turn off the light emitter (S₂₈).

On the other hand, if P.C.L≧F.E.× is satisfied, it means that the lastframe is finished to be photographed, which can be detected by the filmend sensor 108'. In this event, the unit 104' sets the counter 103' forthe maximum value 9. Also, the data for the last frame which data isremaining unrecorded in the film is written in the space LED. S(n8) ofthe last frame (S₂₉).

After that, the light emitter 28 is turned off. Also, the perforationnumber P.C.R.W which is counted at the time of rewinding the film is setas P.C.R.W<P.C.F-P.C.L-P.C.X. In this state, the perforation number isdetected (S₃₀, S₃₁). Note that P.C.X is a constant for setting thecondition as P. C.R.W<P.C.F-P.C.L.

However, if P.C.R.W is set as P.C.R.W=P.C.F-P.C.L in the event thatP.C.L becomes larger than the genuine number due to a count error, themotor continues to rotate still after the whole of the film has beenrewound back into the cartridge, since in that case the condition ofcount number P.C=P.C. R.W is not satisfied.

To avoid this, P.C.R.W is set for a small number and the motor is drivenwith the use of a timer (described later) for the time corresponding toP.C.X .

After the count number P.C becomes as P.C≧P.C.R.W, to further rewind thefilm for the length corresponding to above-mentioned P.C.X plus amargine, the timer is set for "0", and unit 104 starts to count the time(S₃₃). When the timer counts a predetermined time, the unit 104 controlsthe unit 25 to stop the motor (S₃₅) and display the state of finishingthe film winding motion.

In accordance with the above-mentioned embodiment, film winding motionis ended on the double basis of the usable frame number counted at thetime of prewinding the film and the usable frame number detected fromthe CAS code for the sake of increasing the reliability. However, it ispossible to end the film winding motion on the basis of one of theusable frame number counted at the time of prewinding the film and thatdetected from the CAS code.

Also, if the film is to be rewound before the last frame wasphotographed, the rewind button 5 is pushed, which is detected by thedetector element 109' (S₁₀). Upon receipt of the detection signal fromthe element 109', the unit 104' actuates the unit 105' to output asignal for starting the film rewinding motion so that the motor startsthe reverse rotation to rewind the film back into the cartridge (S₃₇).Also, the unit 104' controls the unit 25 to rewind the film in the samemanner as mentioned above into the cartridge after the unrecorded datafor the last frame is written in the film.

As mentioned above, in accordance with the embodiment of the presentinvention, it becomes possible to reliably rewind the film after theinformation data for the last frame is certainly written in the spacebetween the perforations of the film after all the frames are used to bephotographed or at the time when the manual rewind button is pushed.

Many widely different embodiments of the present invention may beconstructed without departing from the spirit and scope of the presentinvention. It should be understood that the present invention is notlimited to the specific embodiments described in the specification,except as defined in the appended claims.

What is claimed is:
 1. A camera with a function of writing aphotographing information onto a loaded film having a plurality ofperforations per each frame, comprising:a detecting means for detectingeach of said perforations of said film to transmit a signal: a writingmeans for writing a predetermined photographing information onto saidfilm in a space between said perforations, said predeterminedphotographing information comprising at least one bit each extendingover said space in a feeding direction of said film; and a controllingmeans for actuating said writing means in synchronization with saidtransmitted signal during an advancing motion of said film after onepicture is photographed.
 2. A camera according to claim 1, wherein saidwriting means comprises at least one of light emitting means, and saidcontrolling means is adapted to control on-off of each of said lightemitting means.
 3. A camera according to claim 2, wherein at least oneof said light emitting means are disposed in a position substantiallycorresponding to a position where the perforations pass.
 4. A camerahaving a system of winding a loaded film in a predetermined amount ontoa spool before photographing, and rewinding back said wound film into acartridge every time one picture is photographed, said film having aplurality of perforations per each frame, comprising:a detecting meansfor detecting each of said perforations of said film to transmit asignal; a memory means for memorizing a predetermined photographinginformation of a preceding frame; a writing means for writing saidphotographing information onto said film in a space between saidperforations, said predetermined photographing information comprising atleast one bit each extending over said space in a feeding direction ofsaid film; an advancing means for advancing said film to said cartridge;a counting means for counting an output of said detecting means; agenerating means for generating a starting signal by which rewindingback of said film into said cartridge starts; and a controlling meansfor causing said writing means to write said photographing informationonto said film in synchronization with said detected signal based onsaid photographing information memorized in said memory means whilecausing said advancing means to advance said film toward said cartridge,and then, after said counting means counts a predetermined number,causing said advancing means to advance said film onto said cartridge.5. A camera according to claim 4, wherein said camera further comprisesa first detecting means for detecting the number of remaining unusedframes (F.E.X.), and a second detecting means for comparing saiddetected number of remaining unused frames with the number of usedframes thereby to detect a film end, said generating means is adapted togenerate said starting signal when said second detecting means detectssaid film end.
 6. A camera according to claim 4, wherein said camerafurther comprises a first detecting means for detecting the number ofremaining unused frames (F.E.X.), a second detecting means for comparingsaid detected number of remaining unused frames with the number of usedframes thereby to detect a film end, and a third detecting means fordetecting an operation of a manual rewinding button, said generatingmeans is adapted to generate said starting signal when said seconddetecting means detects said film end or when said third detecting meansdetects said operation of said manual rewinding button.
 7. A camerahaving a system of winding a film in a predetermined amount onto a spoolevery time one picture is photographed, and then rewinding back saidwound film into a cartridge after all pictures are photographed, saidfilm having a plurality of perforations per each frame, comprising:adetecting means for detecting each of said perforations of said film totransmit a signal; a memory means for memorizing a predeterminedphotographing information of a preceding frame; a writing means forwriting said photographing information onto said film in a space betweensaid perforations, said predetermined photographing informationcomprising at least one bit each extending over said space in a feedingdirection of said film; an advancing means for advancing said film tosaid spool; a counting means for counting an output of said detectingmeans; a generating means for generating a starting signal by whichrewinding back of said film into said cartridge starts; and acontrolling means for causing said writing means to write saidphotographing information onto said film in synchronization with saiddetected signal based on said photographing information memorized insaid memory means while causing said advancing means to advance saidfilm toward said spool, and then, after said counting means counts apredetermined number, causing said advancing means to advance said filminto said cartridge.
 8. A camera according to claim 7, wherein saidcamera further comprises a first detecting means for detecting thenumber of remaining unused frames (F.E.X.), and a second detecting meansfor comparing said detected number of remaining unused frames with thenumber of used frames thereby to detect a film end, said generatingmeans is adapted to generate said starting signal when said seconddetecting means detects said film end.
 9. A camera according to claim 7,wherein said camera further comprises a first detecting means fordetecting the number of remaining unused frames (F.E.X.), a seconddetecting means for comparing said detected number of remaining unusedframes with the number of used frames thereby to detect a film end, anda third detecting means for detecting an operation of a manual rewindingbutton, said generating means is adapted to generate said startingsignal when said second detecting means detects said film end or whensaid third detecting means detects said operation of said manualrewinding button.